// @ts-nocheck
import Course from '../views/Course';
import Classify from '../views/Course/Classify';
import Tabs from '../views/Course/Tabs';

const router = [
  {
    name: 'course',
    path: '/course',
    component: Course,
    meta: {
      index: 1,
    },
    children: [
      {
        name: 'classify',
        path: 'classify',
        component: Classify,
        meta: {
          index: 1,
        },
      },
      {
        name: 'fields',
        path: 'fields',
        component: Tabs,
        children: [
          {
            name: '1',
            path: '1',
            component: Classify,
            meta: {
              index: 1,
              courseFieldsIds: 6,
            },
          },
          {
            name: '2',
            path: '2',
            component: Classify,
            meta: {
              index: 1,
              courseFieldsIds: 7,
            },
          },
          {
            name: '3',
            path: '3',
            component: Classify,
            meta: {
              index: 1,
              courseFieldsIds: 8,
            },
          },
          {
            name: '4',
            path: '4',
            component: Classify,
            meta: {
              index: 1,
              courseFieldsIds: 11,
            },
          },
          {
            name: '5',
            path: '5',
            component: Classify,
            meta: {
              index: 1,
              courseFieldsIds: 10,
            },
          },
          {
            name: '6',
            path: '6',
            component: Classify,
            meta: {
              index: 1,
              courseFieldsIds: 12,
            },
          },
          {
            name: '7',
            path: '7',
            component: Classify,
            meta: {
              index: 1,
              courseFieldsIds: 5,
            },
          },
          {
            name: '8',
            path: '8',
            component: Classify,
            meta: {
              index: 1,
              courseFieldsIds: 2,
            },
          },
          {
            name: '9',
            path: '9',
            component: Classify,
            meta: {
              index: 1,
              courseFieldsIds: 4,
            },
          },
        ],
        meta: {
          index: 1,
        },
      },
    ],
  },
];

export default router;
